SqliteTableModel: Fix bug in last commit to support multiline strings

Fix a bug in the last commit to correctly remove comments on multi-line
queries.