Fix a bug that prevented empty comments from being recognized.

Add a test for that case as well. Also, warn if a non-blank SQL string
results in an empty statement vector, since that probably means the
SQL parser failed.