A police crackdown in the restive western region of Xinjiang which left 14 people dead was "within the law", a spokesperson for China's Ministry of Foreign Affairs said.
Hua Chunying said assailants "used explosive devices to attack police officers" and attacked them with knives.
He added: "This is a case which lays bare the anti-government and anti-human nature of the terrorists and deserves to be condemned by all those who love peace and stability."
More top news
A man suspected of planning a terrorist attack has been arrested in Rotterdam after police found a loaded AK-47 in his apartment.
Another mild day with highs reaching up to 13C degrees in mild southerly winds
The first officer shouted "look!" as the drone passed next to the right wing at around 11,000ft above south-east London.