sorry but I’m running out of ideas.
Does this happen in npp only or is ms notepad also affected?

Can you download a zipped version of npp and unpack it to a
temporary folder. Within this folder create a file called doLocalConf.xml (no content needed), start npp and open
the document. Is it still itallic?