Search the entire file system for any file with any name and pipe the results to a command that will search for lines beginning with a hashtag (#) and list the files that contain them.
find / -name "*.*" | xargs grep -l "^#"