Search the ~/projects directory for any file with any name and pipe the results to xargs to search for lines beginning with # and list the filenames with matches in a case-insensitive manner.
find ~/projects -iname '*.*' | xargs grep -il '^#'