.htaccess destroys the site (500 error)

/.htaccess: Invalid command '\xef\xbb\xbf##', perhaps misspelled or defined by a module not included in the server configuration
/.htaccess: Invalid command '\xef\xbb\xbf##', perhaps misspelled or defined by a module not included in the server  /.htaccess: Invalid command '\xef\xbb\xbf##', perhaps misspelled or defined by a module not included in the server configuration, referer: (my url/dashboard)
/.htaccess: Invalid command '\xef\xbb\xbf##', perhaps misspelled or defined by a module not included in the server configuration, referer: (my url/dashboard)

This was just from removing the two #. Putting them back does not fix it, I have to reupload a new .htaccess.