This photo taken on April 21, 2023 shows a Chinese Coast Guard ship patrolling near Philippine-occupied Thitu island in the disputed South China Sea
This photo taken on April 21, 2023 shows a Chinese Coast Guard ship patrolling near Philippine-occupied Thitu island in the disputed South China Sea AFP

The United States called on China Saturday to stop "provocative and unsafe conduct" in the disputed South China Sea after a recent near-collision with a Philippines coast guard boat there, ramping up rhetoric ahead of a visit by the Filipino president to the White House.

State Department spokesman Matthew Miller, in a statement two days before President Joe Biden is to host his Philippine counterpart Ferdinand Marcos Jr., said the incident was a reminder of China's "harassment and intimidation" of Philippine vessels in the contested waterway.

"We call upon Beijing to desist from its provocative and unsafe conduct," he said, adding that any attack on Philippine armed forces would trigger a US response.

Biden has been working to bolster relations with Asian allies as the US-Chinese relationship remains in a historically deep chill, and the Philippines' proximity to key sea lanes and Taiwan gives it particular strategic importance.

The near-miss Sunday off the Spratly Islands was the latest in a long string of maritime incidents between China and the Philippines.

Beijing claims sovereignty over almost the entire South China Sea, ignoring an international ruling that the assertion has no legal basis.

AFP was one of several media outlets that witnessed the incident after journalists were invited to join two Philippine Coast Guard boats on a six-day patrol of the waters, visiting a dozen islands and reefs.

The Philippine vessels approached Second Thomas Shoal, known in China as Ren'ai Jiao, in the Spratly archipelago.

As one boat, the BRP Malapascua, which was carrying Filipino journalists, neared the shoal, a Chinese Coast Guard vessel more than twice its size sailed into its path.

AFP journalists watched the incident from the other Philippine Coast Guard boat, which was less than a kilometer (0.6 miles) away.

The Malapascua's commanding officer said the Chinese ship came within 45 meters (50 yards) of his boat and only his quick actions avoided the steel-hulled vessels crashing into each other.

The Chinese foreign ministry said Friday that the Philippine boats had "intruded" without China's permission and called it a "premeditated and provocative action."

But Manila hit back, saying that "routine patrols in our own waters can be neither premeditated or provocative" and insisting they will continue to conduct the patrols.

The near-miss came just a day after Marcos hosted Chinese Foreign Minister Qin Gang for talks in Manila aimed at defusing tensions in the waterway.

Marcos has insisted he will not let China trample on the Philippines' rights in the sea, and has gravitated toward the United States as he seeks to strengthen defense ties.

Early this month, the Philippines identified four additional military bases -- in addition to five existing sites -- to which US forces will have access, including one near the Spratly Islands.

The two countries also carried out their biggest ever military maneuvers in recent weeks.

This shift has alarmed China, which has accused Washington of trying to drive a wedge between Beijing and Manila.

US-Philippine ties were badly frayed under Marcos's predecessor, the authoritarian Rodrigo Duterte.

Marcos has sought to allay public fears that the reviving alliance with the US could bring the Philippines into the conflict if China were to invade Taiwan.

He has said that with Biden he will discuss the "need to tone down the rhetoric" over the South China Sea, Taiwan and North Korea.

White House spokeswoman Karine Jean-Pierre said earlier in the month that Biden intended, in the meeting with Marcos, to "reaffirm the United States' ironclad commitment to the defense of the Philippines."

Soldiers salute on April 28, 2023 at Camp Aguinaldo in Quezon City during a closing ceremony for US-Philippine military exercises
Soldiers salute on April 28, 2023 at Camp Aguinaldo in Quezon City during a closing ceremony for US-Philippine military exercises AFP
In this file photo from September 22, 2022, US President Joe Biden (R) meets with Philippine President Ferdinand Marcos Jr on the sidelines of the UN General Assembly in New York; Marcos is to visit the White House on May 1, 2023
In this file photo from September 22, 2022, US President Joe Biden (R) meets with Philippine President Ferdinand Marcos Jr on the sidelines of the UN General Assembly in New York; Marcos is to visit the White House on May 1, 2023 AFP