Simple hack for using parenthetical commas correctly:
The sentence should still make perfect sense when you remove the commas and the text contained within then.
"I was, quite understandably, hesitant to accept the offer".
Still makes sense without the parenthetical content:
"I was hesitant to accept the offer".


