Magneto actually did pull Wolverine's adamantium skeleton out once. And it was a massive heel turn after Magneto had been a "good guy" and worked with the X-Men for years.
He didn't even die there, if you can believe it. Though he is catatonic and carried home by Jean Grey. This is one of the few comic books I actually had.
Immediately after this, Xavier gets pissed and completely mind-wipes Erik, something he promised he'd never do. This causes a part of his psyche to splinter off, eventually kidnap Franklin Richards, and merge with him to become Onslaught.
Then an amnesiac, de-aged Magneto shows up to help the X-Men fight Onslaught.
The adimantium was actually poisoning him, and his healing factor was fighting it the whole time. So when he lost the metal he became ultra powerful and developed bone claws
I think I read a comic where he is basically burnt alive in some kind of explosion and he goes through the regeneration process mentioning, I think, nerves are the worst to regenerate because it's really painful
It probably depends on the writer who is currently writing him, but chat gpt thinks he would eventually recover from decapitation or attacks that destroy his brain. I can't remember where I got this from, but my understanding is that as long as some of his cells survive, he will regenerate. Which could rule out the surviving the sun depending on whether he'd burn up faster than he can regenerate (and assuming no new powers affect this).
Logan burned out his healing factor to survive that (he was fine in the end, though), Xavier retaliated by wiping Magneto's mind but in doing so he created Onslaught, a sentient psionic entity created from the darker parts of their consciousness (Xavier and Magneto's)
As others mentioned, he definitely survived. But to add onto that, Deadpool got his healing factor from wolverine, and Deadpool's whole shtick is that he's virtually unkillable.
In order to kill either one of them, you have to kill every single one of their cells. For Deadpool at a certain point, even that won't work, because that happened. He died, then fell in love with the personification of death. That pissed off someone real powerful who then cursed Deadpool with immortality so he can never see his beloved again.