class Rouge::Lexers::ConsoleLexer

def allow_comments?

simply "#", we flag this to on
whether to allow comments. if manually specifying a prompt that isn't
def allow_comments?
  case @comments
  when :guess
    @prompt && !@prompt.empty? && !end_chars.include?('#')
  else
    @comments
  end
end