Damn, this reminds me of what happened to me. A girl I had the biggest crush on was lying in bed and saying take your shirt off and come over here. Back then I was super self-conscious about my body so I said: “Haha, why? No, I don’t want to”.
Alternatively you could use my favorite approach, Visual Studio Code. Just open the file with it, edit it and upon saving you will be promoted if the file needs admin rights to save.