To create a Comment node with text content
taken from string , call this method on a sDocument
instance :
D
D.createComment (s)
The method returns a new Comment object
with no parent. To attach an unattached node to a parent node
pi:
p
p.appendChild (pi)