"We strongly urge the Democratic People's Republic of Korea (DPRK) to honour the commitment to denuclearisation, abide by the relevant UN Security Council resolutions and halt any moves that could aggravate the situation," China's Foreign Ministry said, using the country's official name.
"China will, along with the international community, keep working toward the goal of denuclearisation of the Korean Peninsula and commit to settling problems through the six-party talks," it said in a statement.
North Korea's state-run television reported the country has "successfully" conducted a nuclear warhead explosion - its fifth and more powerful than it has earlier conducted - after monitors detected a 5.3-magnitude "artificial earthquake" near its main nuclear site this morning.
The test, which comes eight months after the last one, was expected to further tighten United Nations sanctions.
More From This Section
Chinese analysts say North Korea resorted to the fifth test as it was increasingly getting under pressure because of military exercises between the US and the South and also due to the proposed deployment of Terminal High Altitude Area Defence (THAAD). China too is worried over the deployment of modern weaponry close to its borders on the Korean peninsula.
"As to the possible sanctions to be adopted by UN Security Council... (China) has always been earnestly observing and implementing relevant UNSC Resolutions and we will continue our position of opposing militarisation of Korean peninsula and take part in relevant negotiations in UNSC in a responsible attitude," she said.
But any unilateral action would be a dead end, making the situation more tense and complicated, she added.
National Radiation Environmental Data Evaluation System said it has not detected any abnormal signs of radiation.
Chinese residents living near the border said on social media that they felt a strong tremor similar to when North Korea conducted a nuclear test in January, Hong Kong-based South China Morning Post reported.