Note:This method creates a element. Syntax: document.createComment(param1)Parameters: param1 Required; the text of the comment.