China's Foreign Minister Wang Yi, left, is greeted by Vietnam's Deputy Prime Minister and Foreign Minister Phạm Binh Minh arrive at the ASEAN-China Foreign Ministers Meeting in Bangkok, Thailand, Wednesday, July 31, 2019. Southeast Asian foreign ministers opened their annual meeting Wednesday with a call from host Thailand for deeper integration amid rising global challenges and a pledge from China that differences will be

BANGKOK (AP) — China on Wednesday warned outside nations against any attempt to sow discord between Beijing and Southeast Asian countries by playing up disputes over the South China Sea, saying differences can be resolved peacefully between the affected parties themselves.

Chinese Foreign Minister Wang Yi, speaking after talks with his counterparts from the Association of Southeast Asian Nations at an annual meeting of the 10-member bloc, also reaffirmed Beijing's commitment to conclude a Code of Conduct with ASEAN governing the South China Sea that will make the disputed region more stable.

China's aggressive territorial claims in the South China Sea, which carries a third of global shipping, has drawn rebuke from the United States and become a flashpoint for the region, with parts of the sea overlapping claims by ASEAN members Vietnam, the Philippines, Malaysia and Brunei. 

Tensions flared anew after Chinese naval boats rammed Philippine fishing boats and Vietnam accused China of violating its sovereignty by interfering with offshore oil and gas activities in disputed waters. The U.S. State Department has said Chinese action in Vietnam undermined regional energy security and urged Beijing to "cease its bullying behavior" and refrain from "provocative and destabilizing activity."

The U.S. also regularly sails and flies military assets close to the disputed areas in what it calls freedom of navigation operations. On Tuesday, Philippine Defense Chief Delfin Lorenzana also criticized China's "bullying" actions in the South China Sea and said Beijing's peaceful assurances contrast with its behavior in the contested waters. 

Wang said Wednesday that Beijing and ASEAN nations can settle the disputes without any interference.

"We think non-regional countries should not deliberately amplify such differences or disputes," he said when asked about U.S. involvement. "Instead they should support the efforts by China and ASEAN in having these differences properly addressed."

He said China and ASEAN aim to conclude talks on the Code of Conduct within three years or even earlier, which will not only manage disputes more effectively but ensure the rights of non-regional countries in the waters are better protected.

Wang also said China is exploring plans to "institutionalize" joint military exercises with ASEAN countries in the region after two previous drills.

ASEAN and China have completed the first round of negotiations on the code, but experts said the next two rounds of talks are likely to be contentious because there is no sign that China will agree to anything that would undermine its maritime claims.

ASEAN foreign ministers, in a joint communique after their annual meeting earlier Wednesday, said some ministers had expressed concerns on "the land reclamations, activities and serious incidents in the area which have eroded trust and confidence" and raised tensions. They didn't name any country but repeated calls for "non-militarization and self-restraint in the conduct of all activities by claimants and all other states."

They also stressed the importance of upholding international law, including a U.N. sea treaty that Beijing has not followed, according to a 2016 international arbitration ruling.

Two-way trade between ASEAN members and China topped $580 billion last year, while Chinese investment in Southeast Asian nations hit nearly $10 billion, making the region its second-largest investment destination for the first time, Wang said, adding that China has infrastructure and transportation projects under its Belt and Road Initiative with every ASEAN member.

The South China Sea dispute has highlighted the growing rivalry between the U.S. and China to assert influence in the region, putting ASEAN nations in a tight spot. At their summit in June, ASEAN leaders adopted an Indo-Pacific engagement framework that sought to find a middle ground and keep on the good side of both Washington and Beijing.

Beijing is attempting to project its influence globally through its Belt and Road Initiative, an ambitious development program of major infrastructure projects, while Washington is using the Free and Open Indo-Pacific strategy, which Beijing says is directed against it.

Also on Wednesday, the meeting's host, Thailand, urged ASEAN members to be "more agile" amid increasing nationalism globally.

"We must recognize that looking inward and being myopic is not our option and never will be," Thai Foreign Minister Don Pramudwinai said in opening the annual ASEAN ministerial meeting. "Amid great turmoil, we must be more outward and forward looking than ever before."

He warned that the road ahead "could be treacherous" but said greater cooperation among ASEAN members and outside partners could help sustain long-term growth.

ASEAN, which is seeking to boost its own voice as a global player, is also playing host to a series of foreign ministers from key strategic and dialogue partners, including U.S. Secretary of State Mike Pompeo and Russian Foreign Minister Sergey Lavrov.

___

AP Diplomatic Writer Matthew Lee and writer Grant Peck contributed to this report.

China's Foreign Minister Wang Yi, center, claps his hand after pose for a group photo during the ASEAN-China Foreign Ministers Meeting in Bangkok, Thailand, Wednesday, July 31, 2019. Southeast Asian foreign ministers opened their annual meeting Wednesday with a call from host Thailand for deeper integration to expand trade and bolster prosperity in the region amid rising global challenges.(AP Photo/Gemunu Amarasinghe)
Foreign ministers of the Association of Southeast Asian Nations (ASEAN) from left, Laos' Foreign Minister Saleumxay Kommasith, Malaysia's Foreign Minister Saifuddin Abdullah, Myanmar's Minister of State for Foreign Affaires Kyaw Tin, Philippines' Foreign Affaires Secretary Teodoro Locsin Jr., Singapore's Foreign Minister Vivian Balakrishnan, Thailand's Prime Minister Prayuth Chan-ocha and Thailand's Foreign Minister Don Pramudwinai prepare to pose for a group photo during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Thailand's Prime Minister Prayuth Chan-ocha, center, smiles as he greets dignitaries during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Thailand's Prime Minister Prayuth Chan-ocha, center gestures as Singapore's Foreign Minister Vivian Balakrishnan, left, and Cambodia's Foreign Minister Prak Sokhon, second left, watch during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Foreign ministers of the Association of Southeast Asian Nations (ASEAN) from left, Laos' Foreign Minister Saleumxay Kommasith, Malaysia's Foreign Minister Saifuddin Abdullah, Myanmar's Minister of State for Foreign Affaires Kyaw Tin, Philippines' Foreign Affaires Secretary Teodoro Locsin Jr., Singapore's Foreign Minister Vivian Balakrishnan, Thailand's Prime Minister Prayuth Chan-ocha, Thailand's Foreign Minister Don Pramudwinai, Vietnam's Deputy Prime Minister and Foreign Minister Pham Binh Minh, Brunei's Permanent Secretary of Ministry of Foreign Affairs and Trade Dayang Emaleen binti Abdul Rahman Teo, Cambodia's Foreign Minister Prak Sokhonn, Indonesia's Foreign Minister Retno Marsudi and ASEAN Secretary-General Dato Lim Jock Hoi pose for a group photo during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Thailand's Prime Minister Prayuth Chan-ocha greets during the opening ceremony of the Association of Southeast Asian Nations (ASEAN) Foreign Ministers meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Thailand's Prime Minister Prayuth Chan-ocha, second from right, waves next to Thailand's Foreign Minister Don Pramudwinai, left, during the opening ceremony of the Association of Southeast Asian Nations (ASEAN) Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Thailand's Prime Minister Prayuth Chan-ocha walks back to his seat after delivering a speech during the opening ceremony of the Association of Southeast Asian Nations (ASEAN) Foreign Ministers' 52nd meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Foreign ministers of the Association of Southeast Asian Nations (ASEAN), from left, Laos' Saleumxay Kommasith, Malaysia's Saifuddin Abdullah, Myanmar Minister of State for Foreign Affairs Kyaw Tin, Philippines Foreign Affairs Secretary Teodoro Locsin Jr., Singapore's Vivian Balakrishnan, Thailand's Prime Minister Prayuth Chan-ocha, Thailand's Don Pramudwinai, Vietnam's Pham Binh Minh, Brunei Permanent Secretary at Brunei's Ministry of Foreign Affairs and Trade Dayang Emaleen binti Abdul Rahman Teo, Cambodia's Prak Sokhonn, Indonesia's Retno Marsudi and ASEAN Secretary-General Dato Lim Jock Hoi shake hands during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Singapore's Foreign Minister Vivian Balakrishnan, left, shakes hands with dignitaries during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Indonesia's Foreign Minister Retno Marsudi, left, waves as she walks with Vietnam's Deputy Prime Minister and Foreign Minister Phạm Binh Minh, second left and Cambodia Foreign Minister Prak Sokhon during the opening ceremony of the ASEAN Foreign Ministers' meeting in Bangkok, Thailand, Wednesday, July 31, 2019. (AP Photo/Gemunu Amarasinghe)
Brunei's Permanent Secretary of Ministry of Foreign Affairs and Trade Dayang Emaleen binti Abdul Rahman Teo reads document during the starts of ASEAN Foreign Ministers Plenary Session in Bangkok, Thailand, Wednesday, July 31, 2019. Top diplomats from the Asia-Pacific region started gathering Wednesday in the Thai capital to discuss issues of concern to the area, including security on the Korean peninsula and China's territorial claims in the South China Sea. (AP Photo/Sakchai Lalit)
Cambodia's Foreign Minister Prak Sokhon gestures during the starts of ASEAN Foreign Ministers Plenary Session in Bangkok, Thailand, Wednesday, July 31, 2019.  Southeast Asian foreign ministers have opened their annual meeting with a call from host Thailand for deeper cooperation to expand trade and bolster prosperity in the region amid rising global challenges. (AP Photo/Sakchai Lalit)
Russia's Foreign Minister Sergey Lavrov, left, shares a light moment with Indonesia's Foreign Minister Retno Marsudi during Russia-ASEAN Foreign Ministers' Meeting in Bangkok, Thailand, Wednesday, July 31, 2019.  Southeast Asian foreign ministers opened their annual meeting Wednesday with a call from host Thailand for deeper integration amid rising global challenges and a pledge from China that differences will be