public boolean nextValidToken() throws java.io.IOException {
  while (tokeniser.nextToken()) {
    if (tokeniser.getTokenType() == TokenType.Comment)     continue;
    return true;
  }
  return false;
}

public boolean nextValidToken ( ) throws java . io . IOException { while ( tokeniser . nextToken ( ) ) { if ( tokeniser . getTokenType ( ) == TokenType . Comment ) continue ; return true ; } return false ; }
reads the next token skipping over the comments .
