Find all files (type f) and execute a sed command to replace the beginning of each line (^) with a # followed by the line (\1) on each file ({}).
find . -type f -exec sed -i -e 's/^\(.*\)$/# \1/' {} \;