The phrase in comedy is "feel the room." Should anything be off limits? No. But, that also doesn't mean you won't have to deal with some shunning if you decide to make religious jokes in a church.
Pretty much this. There is a time and place. You wouldn't make a joke about a school shooting atm, for example.