class Haml::Compiler

def compile_comment

def compile_comment
  open = "<!--#{@node.value[:conditional]}"
  # Render it statically if possible
  unless block_given?
    push_text("#{open} #{@node.value[:text]} #{@node.value[:conditional] ? "<![endif]-->" : "-->"}")
    return
  end
  push_text(open, 1)
  @output_tabs += 1
  yield if block_given?
  @output_tabs -= 1
  push_text(@node.value[:conditional] ? "<![endif]-->" : "-->", -1)
end