No it doesn't.
Magnesium metal burns because the boiling point of magnesium is just 1091 C, so extremely reactive vapor is readily produced. But it would be very hard to heat it that high in water unless it was ignited first. It will then continue to burn under water.