CGM and MRI

Can you get an MRI done while wearing a CGM? What if you just take out the transmitter? Will it still damage the sensor?