So at the date of the fire, around 120 aircraft operating and ten years into the program the first aircraft is a write-off.
F/A-18 lost ten aircraft to crashes and fires, and possibly 40 F-16’s in the first ten years of flight.
Seems like a fairly reasonable safety record for the F-35.