Manila: Beijing urged the member countries of the Association of Southeast Asian Nations (Asean) on Tuesday to unite and “say no" to outside forces seeking to interfere in the South China Sea dispute, in an apparent swipe at the US ahead of a regional summit.

Chinese foreign minister Wang Yi made the statement in Manila where he hailed the “strong momentum" in improving ties with the Philippines, a longstanding US ally which has moved closer to China under President Rodrigo Duterte.

Wang’s visit came a week before he was set to return to Manila for a meeting of foreign ministers from the Asean and its partners, which include China and the US.

Wang said warming relations between Beijing and Manila had helped ensure stability in the South China Sea, where rival claims have long made it one of Asia’s potential military flashpoints.

“If there are still some non-regional forces or forces in the region that don’t want to see stability in the South China Sea and they still want to stir up trouble in the South China Sea, we need to stand together and say no to them together," Wang told reporters.

China claims nearly all of the strategically vital sea, even waters approaching the coasts of its neighbours.

Asean members the Philippines, Vietnam, Malaysia and Brunei, as well as Taiwan, claim parts of the sea.

While the US is not a claimant and says it takes no sides in the disputes, it has criticised what it has termed Chinese “militarisation" of the sea.

Washington has repeatedly sent warships close to Chinese-occupied islands in the sea in recent years, triggering angry responses from Beijing.

Duterte, a self-described socialist, has loosened his nation’s 70-year-old alliance with the US while looking to build stronger relations with China and Russia.

Duterte has downplayed Philippines’ dispute with China, declining to use a favourable ruling from a United Nations (UN)-backed tribunal in 2016 on the issue to pressure Beijing. He has said better relations with China, following six years of tension under his predecessor who took a hard line with Beijing over the dispute, will generate billions of dollars in promised Chinese investments and aid.

Duterte said on Monday that the Philippines and China were in talks for joint exploration in the sea, which is believed to sit atop vast oil and gas deposits.

Wang on Tuesday pledged 20 million renminbi ($3 million) to help rehabilitate the war-torn southern Philippine city of Marawi, where a US-backed military offensive is seeking to flush out pro-Islamic State group militants.