CHINA says North Korean companies operating in the country will have to shut down by January as Beijing applies United Nation sanctions imposed after Pyongyang’s sixth nuclear test.

The commerce ministry said on Thursday that the companies, including joint ventures with Chinese firms, have 120 days to close from the date the UN resolution was adopted, September 11.

The sanctions spare, on a case-by-case basis, entities involved in non-commercial activities or public utility infrastructure projects that do not generate profits.

The announcement comes days after China confirmed that it will apply another major part of the sanctions: a limit on exports of refined petroleum products to North Korea starting October 1 and a ban on textiles from its neighbour.

In August, China banned North Korean firms and individuals from establishing new companies in its territory following a separate set of sanctions.

China’s application of UN sanctions is particularly biting for North Korea. Beijing is Pyongyang’s main ally and trading partner, responsible for about 90 per cent of the hermit nation’s commerce.

The United States has pressed China to use its economic leverage to strongarm North Korea into giving up its nuclear ambitions.

US secretary of state Rex Tillerson will visit Beijing this weekend for talks with China’s top diplomat, Yang Jiechi, and foreign minister Wang Yi.

Mr Tillerson will discuss the North Korean nuclear tensions, trade issues and President Donald Trump’s planned trip to China in November, the US State Department said.

Mr Trump’s tour will also take in regional allies Japan and South Korea.

‘ABYSS OF MISERY’

Washington has alternated between criticising and praising Beijing’s role in the North Korea crisis, on the one hand welcoming its support for new sanctions but also insisting it must do more to rein in its unruly neighbour.

For its part, China has called on both Mr Trump and North Korean strongman Kim Jong-un to tone down their increasingly bellicose rhetoric and instead try to begin peace talks.

“We are opposed to any war on the Korean peninsula, and the international community will never allow a war [which would] plunge people into an abyss of misery,” foreign ministry spokesman Lu Kang told a regular press briefing.

“Sanctions and the promoting of talks are both the requirements of the UN Security Council. We should not overemphasise one aspect while ignoring the other,” Mr Lu said.

While China has imposed sanctions on its renegade neighbour, it wants to avoid precipitating the regime’s downfall over fears that its collapse could send an influx of refugees across its border and place the US army at its doorstep.

But Beijing appears to be running out of patience with North Korea’s nuclear antics — the last test earlier this month triggered an earthquake that was felt in northeast China.

Branches of China’s biggest banks have told AFP that they have suspended financial transactions for North Koreans, a measure that is not required under UN sanctions.