They won't rip out of your head by electro-magenetic force, so in that sense they are safe. They may obscure the image. I would suggest talking with your technician. They typically make you remove all metal before you can enter the machine.
Please, mind that only logged in users can submit questions