Don't check for requires in comments

This is a horrible, quick hack to prevent the requires check from looking inside comments. It uses RegExps to identify comments and will certainly fail in some cases, but should work at least on the existing codebase. Refs #240.