Brad Larson deleted your comment, for reasons explained in his answer. I would have deleted that comment, as well, and I had basically written this before Brad posted, so I will go ahead and offer my own thoughts.
Your comment was this:
Is God or Satan an alien? Angels? Devils?
Unlike the other comments you mentioned in your question, yours brought God, Satan, and other supernatural beings into the discussion. This wasn't particularly helpful. After all, the post was simply an announcement of the annual survey, which your comment didn't address. The comment also should be deleted for a number of reasons:
It adds nothing to the conversation. While comments—especially comments on Meta—don't have to move the conversation forward, the post in question has received (as of right now) well over 100 comments. That's, frankly, an absurd number. So, extremely unhelpful or irrelevant comments are going to face a little more scrutiny than usual.
It's not even clear whether it was intended as a joke, as opposed to religious or political commentary of some kind.
This is the big one: it seems to be mocking or at least making light of God and the other beings mentioned. This site has literally millions of users, including Christians, Jews, Muslims, other monotheists, polytheists, atheists, religious agnostics... you name it. Any apparent mockery of religious beliefs is totally irrelevant to this site and extremely likely to deeply offend some substantial number of people. This is not an instance of people finding offense under every rock; it's a question of apparent mockery of people's most deeply-held beliefs. I'm not saying you tried to mock anyone's beliefs. I'm saying it's inevitable that your comment will be seen by some large number of people as mockery when it has so many potential readers.
Probably others that I can't think of until I've had more coffee.
The question to ask here is whether a comment is helpful to anyone without being unnecessarily offensive. The comment in question wasn't helpful—at best, it was a joke, as you intended—but it was unnecessarily offensive. You wrote in your post above:
I guess I didn't think either believers or atheists would be offended.
Pretty much anything that you can say about God, Satan, angels, demons, or anything else supernatural is going to offend lots of people unless it's a sincere comment. You don't have to go tiptoeing around lest you offend someone with really unusual religious beliefs, but you may want to be more careful about religious humor in the future. That's especially true on SO and MSO, which are focused (more or less seriously) on programming, not religious topics or humor.
Thanks for teeing up the question; it's helpful to have people ask what is and isn't in-bounds.