China has released a code of conduct for private companies investing abroad as it seeks to head off risky acquisitions, with state media reporting on Tuesday that a blacklist of violators was in the works.