protected boolean isSingleLineComment(String line){
  return line.startsWith("--");
}

protected boolean isSingleLineComment ( String line ) { return line . startsWith ( "--" ) ; }
checks whether this line is just a single - line comment outside a statement or not .
