How long was the worlds longest coma?

it was for a 37 years

Elaine Esposito (December 3, 1934 – November 25, 1978) held the record for longest coma according to the Guinness World Records, having lost consciousness in 1941 and eventually dying in that condition more than 37 years later.