Even Yunnan officially entered the territory of China from the Yuan Dynasty. However, after Mengyuan withdrew from China, the Ming Dynasty made an expedition to Yunnan, which destroyed the dual regime of Mongolian Liang Wang and Duan, and made Yunnan stable on the Chinese territory.
Moreover, Myanmar has never been included in the territory of China. The Qing Dynasty attacked Myanmar twice, but did not annex Myanmar. Myanmar is only a vassal of the Qing Dynasty, not a territory.