# File lib/asciidoctor/reader.rb, line 349 def skip_comment_lines return [] if empty? comment_lines = [] while (next_line = peek_line) && !next_line.empty? if next_line.start_with? '//' if next_line.start_with? '///' if (ll = next_line.length) > 3 && next_line == '/' * ll comment_lines << shift comment_lines.push(*(read_lines_until(:terminator => next_line, :read_last_line => true, :skip_processing => true))) else break end else comment_lines << shift end else break end end comment_lines end