Change comment regex to accept compiler directives without issue
Tests for comment detection behavior