Bill, Thanks for reply.
Creating comment node with text seems a only workaround for now.
Node method- getTextContent() returns "Required Information". so newly created comment node will be like
<!-- Required Information -->
is there any way to get text
string with node name. like "<tile>Required Information</title>". so that comment will be like
<!-- <title>Required Information </title> -->