BEIJING — China says it is making every effort to ensure stability on the Korean Peninsula, responding to implications from U.S. presidential candidate Donald Trump that it isn’t putting enough pressure on Pyongyang.

Foreign Ministry spokesman Geng Shuang said Tuesday that Beijing wasn’t the source of the nuclear crisis currently gripping the peninsula, but would continue to oppose the spread of nuclear weapons.

In Monday night’s debate with Democrat Hillary Clinton, Trump said China should “go into North Korea.”

Geng told reporters at a daily news briefing that China “has been making unremitting efforts” for the sake of a nuclear-free peninsula.

China is Pyongyang’s only significant ally but has signed on to economic sanctions brought by the U.N. Security Council over the North’s nuclear tests and missile launches.