I am using SimpleXML to build a document, and wondering whether it is possible to insert comment tag to the document like this:\[code\]<root> <!-- some comment --> <value></root>\[/code\]EDIT:The comment is somewhere in the middle of the document.\[code\]<root> <tag1 /> <!-- some comment --> <value /></root>\[/code\]