code: public static Parser<Void> lineComment(String begin) {
      return Patterns.lineComment(begin).toScanner(begin);
    }
docs: A scanner that succeeds and consumes all the characters until the {@code '\n'} character
  if the current input starts with the string literal {@code begin}. The {@code '\n'} character
  isn't consumed.