Hello,
You can make a backup, remove this line, and then verify that the website is still operational.
Then, to stop these attacks, I advise using Imunify on your server.
Additionally, you can look at this discussion:
I hope that I could help.
Have a nice day, Leo.