MSFS crashes to desktop when I click on Load In Editor!

What I did was I found out that I had some Bad code in my .xml file using trail and error(Deleted half and half of the code until I nailed it down to the line that wasn’t working). Now all I lost was some painted lines which were duplicated a lot if I remember correctly.