Find all files (type f) and execute the command 'grep -L' to search for lines that do not start with '#', then delete (rm) all files that match this criteria.
find . -type f -exec grep -L '^#' {} \; | xargs rm