Added functionality to ignore comments