class Nokogiri::XML::Document

def create_comment(string, &block)

Create a Comment Node containing +string+
def create_comment(string, &block)
  Nokogiri::XML::Comment.new(self, string.to_s, &block)
end