Find all files in the current directory and its subdirectories and search for lines that start with a whitespace followed by a hashtag and list the filenames that contain a match.
find ~ -type f | xargs grep -l "^\s*#"