" to comment text; 2. Use "" to annotate text.">
[Solution: Single comment and multi-line comment problem in xml file]
First type (single line):
The second type (multiple lines):
The third type (multiple lines):
As shown in the picture:
Under the premise that 2 has been commented, if you want to comment 1, you need to use the third comment method.
For more programming-related knowledge, please visit:Programming Teaching! !
The above is the detailed content of How to add comments to xml?. For more information, please follow other related articles on the PHP Chinese website!