"Lurking in the background as a potential spoiler or helper in this drama is Chinese leader Xi Jinping, who sees both opportunity and peril," Fred Kempe, president and CEO of foreign policy think tank Atlantic Council, wrote in a recent note.
The world's second-largest economy has long said it supports a nuclear-free peninsula, but strategists say its greatest priority is preventing a North Korean regime collapse — if the rogue state falls under the weight of sanctions, that could send a flood of citizens to China.
For Beijing, "the right sort of peace deal could weaken the U.S. alliance with South Korea, reduce the threat of conflict and refugee flows on Chinese borders, and ultimately lead to the withdrawal of American troops from South Korea," said Kempe.
Ending the U.S. military presence in South Korea — a major requirement for Kim's administration to relinquish nuclear weapons — is expected to boost China's goal of minimizing America's influence in Asia.
Beijing and Pyongyang ultimately possess the same goals for the Trump-Kim summit: get the White House to relax sanctions on the isolated nation, according to Gregory Kulacki, a China expert at the global security program of research and advocacy group Union of Concerned Scientists (UCS).
"China and North Korea have cut their deal already," Kulacki said on a UCS podcast. That deal entails Xi's administration resuming some economic relations with Kim's government if the latter freezes missile and nuclear weapons tests, he explained.
But "in order for China to open the economic door a little bit, there is going to have to be some relaxation of those sanctions, which means there's gonna have to be some concession from the United States," Kulacki continued, adding that such a scenario would constitute a victory for both Pyongyang and Beijing.
During a May meeting between Kim and Xi, the Chinese leader re-emphasized support for North Korea to stick to denuclearization while Kim was quoted as telling Xi that Pyongyang won't need to possess nuclear weapons if a "relevant party" drops its "hostile policy and security threats," evidently referring to the U.S.
Shortly following that encounter, Trump said Kim was possibly being influenced by Xi. The U.S. president also urged China to maintain a secure border with the pariah state.
Ideally, China's outcome for the Tuesday meeting is for "a soft landing" — that is, "a denuclearized North Korea that gradually carries out reform and opens up its society, which will make economic dynamism in the sub-region possible," said Ren Xiao, professor of international studies at Shanghai's Fudan University.
The Communist Party may be wary about the prospect of a reunified Korea. If the North and South were to unify, the new state could end up under U.S. influence.
"If Trump navigates too well, China could be confronted with a stronger, larger and ultimately reunified Korea as a regional, democratic bulwark and U.S. ally," Kempe warned.
A "worst-case peace deal" for Beijing would be if the U.S., South Korea and North Korea were to form some kind of group or alliance, Xiao echoed. But "that's quite unlikely," he added.
Paul Haenle, director of the Carnegie–Tsinghua Center, told CNBC that China's fear of a result of a strengthened relationship between U.S. and North Korea would outweigh its desire to see denuclearization.
"When you ask them would you want to see North Korea give up its nuclear weapons if that meant the result was a unified Korean Peninsula aligned with the United States, then the answer by most Chinese is no. And I think what that shows you is the geopolitics in this often trumps the denuclearization issue," he said.
In addition, Chinese officials fear that an "unconventional" president like Trump would "really do something fairly dramatic," Haenle said.
"And I think the Chinese see geopolitics in a very zero-sum game, so any improvement in relations between United States and North Korea will, from a Chinese perspective, mean a loss for China," he concluded.