if you have just made some changes to the settings such as the http to https in general setting in WordPress or refreshed your permalinks then there is a change that WordPress has automatically regenerated your .htaccess file so the first place that is worth checking it that your configuration is correct sometimes you will see your config and then the config that WordPress has just generated below in the same file.
You should just be able to delete the generated code and you will be file.
*** Make sure you copy the content of the file into a file first so you have a backup