Use TYPO3 default "#" instead of "--". I nearly exclusively write SQL comments within TYPO3 sql files.