嗨@lifalin2016,there is an FME specific syntax says any error occurs while executing a SQL statement won't stop the translation (i.e.FME ignores the error) if the statement was preceded with a single hyphen.
"An individual statement may be preceded with a hyphen,indicating that errors should be ignored.The following example contains two SQL commands where errors from the first command will be ignored:
FME_SQL_DELIMITER ;
-SELECT * FROM TABLEA;
SELECT * FROM TABLEB;" -- SQL Statement,Parameters,SQLExecutor Help
Because of that,I think that FME removes the leading hyphen from any statement before passing the statement to a database engine and therefore it could cause the error you have observed on a comment statement starting with two hyphens.
I don't consider it as a bug,but think it should be documented somewhere,or there is a room to improve the implementation not to remove the first hyphen if the line starts with two consecutive hyphens.