When my brother got married in a Catholic church we went, but made sure we were not part of the service by sitting away from the wedding party.
I think that is where the trouble would come, if you joined in with the service. Just observing is as has been said just a conscience matter.