"We have noted the situation in Myanmar. We are following any further developments. China is a friendly neighbor of Myanmar. We hope that all sides in Myanmar, under the framework of the constitution and law, can properly manage their differences and maintain political and social stability," Foreign Ministry spokesman Wang Wenbin told a daily news briefing in Beijing.
Last month the Chinese government's top diplomat, Wang Yi, met military chief Min Aung Hlaing, who has now assumed power, during a visit to Myanmar.
Asked whether Myanmar had hinted there could be a coup during Wang Yi's visit, or whether China would condemn the coup, spokesman Wang reiterated his previous statement.
China has long played an important role in former Burma, standing by the country during its previous time as a military dictatorship, but also working closely with Aung San Suu Kyi when she became leader.