class Haml::Parser

def comment(line)

Renders an XHTML comment.
def comment(line)
  conditional, line = balance(line, ?[, ?]) if line[0] == ?[
  line.strip!
  conditional << ">" if conditional
  if block_opened? && !line.empty?
    raise SyntaxError.new(Haml::Error.message(:illegal_nesting_content), @next_line.index)
  end
  ParseNode.new(:comment, @index, :conditional => conditional, :text => line)
end