Oh god, I found this comic through the fanart magnoliapearl [http://magnoliapearl.tumblr.com/] just did and IT’S ALREADY WORTH IT.
I felt like i had to stop reading and post this right now so you know how soon i fell for it.

Only if you consider his usage here to be taking the Lord’s name in vain. Many only classify saying “god dammit” as such. Others will tell you it depends on context. What taking His name in vain means is a subject of conversation and there is no white or black to it. It’s never spelled out.