Comments

You can comment any line in your .htaccess file by beginning that line with a pound sign (#).

By doing so, any information on that line will not be read by the server. You can use this to leave yourself brief notes as to what each function you have in your .htaccess file does, or if you have something in your .htaccess file that you only occasionally use, you can simply comment the lines out when you don’t want to use them.

For example:

# Everything on this line would be commented.

Each line you want to comment must begin with a pound sign (#).