Rails' config.action_view.annotate_rendered_view_with_filenames causes Rails to emit HTML comments before and after each template including the layout. This means a comment is emitted before the HTML doctype which this gem flags as an error.
config.action_view.annotate_rendered_view_with_filenames is extremely useful in local development so it would neat if this gem could either ignore the leading comment somehow.