Detect over multiple lines, not just the first

Useful for when you have comments at the top of the file which e.g.
explains what this specific config does.