private static boolean isSQLCommandPart(String line) {
        line = line.trim();
        if (line.isEmpty()) {
            return false;
        }
        // Check to see if the line is a comment. Valid comment types:
        //   "//" is HSQLDB
        //   "--" is DB2 and Postgres
        //   "#" is MySQL
        //   "REM" is Oracle
        //   "/*" is SQLServer
        return !(line.startsWith("//") || line.startsWith("--") || line.startsWith("#") ||
                line.startsWith("REM") || line.startsWith("/*") || line.startsWith("*"));
    }
Returns true if a line from a SQL schema is a valid command part.

@param line the line of the schema.
@return true if a valid command part.
xmppserver/src/main/java/org/jivesoftware/database/SchemaManager.java