China has urged its citizens in Iran to leave the country “as soon as possible,” Xinhua reports.