Better support for only recognizing tasks in code that are part of a comment