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