fix scanner to ignore sql comments and blank lines