SetSqlModeParser would read uninitialized memory if a query consisting of only comments would be executed.
The warnings are about what the parser expects, not something the end user should know.
Documentation update will follow.