BEIJING - China has started to discuss legislation to retaliate for foreign sanctions, state-run media reported, as the country's tensions with the United States and other democratic nations have been intensifying over human rights and security issues.