China is urging both countries to work towards a peaceful solution amid escalating tension surrounding nuclear threats.