The Justice of the Peace can marry people in a civil ceremony. God does not have to be involved, and if he doesn't, then he really never has anything to do with any marriage.
That is a really boring comic. It is not funny, the story is vague, and despite being pretty well drawn, I can't see what it has to do with marriage at all.