Added comment detection logic for GA.