XML has only one definition for a comment:'<!--' ((Char - '-') | ('-' (Char - '-')))* '-->' XML禁止在注释中使用--来保持与SGML的兼容性.XML forbids -- in comments to maintain compatibility with SGML. 这篇关于如何在XML中注释一行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!