Which is more formal in register, opt-out of something or withdraw from something?
Are there any more formal ways to phrase the idea?
For a formal register, I would say ...
"I do not elect to participate"
"I withdraw (from consideration, participation, etc.)
rather than opt-out.