parse and ignore comments, and ignore anything in strings