Comments should match until end of line

I'm curious as there may be a reason I'm not aware of as to why a specific character class for matching `anychar` is used. `anychar` is used only for comments and comments should be matched until the end of line.