I read a comment made on another question that regardless of how they are worded, blessings that are made in communal prayer can only be prayed by someone who is obligated to them.
The idea that non-Jews shouldn't make blessings for things that were commanded only to the Jewish people, or say lines referring to things like 'our ancestors', makes sense to me. These are important. But I've never come across the thought that gentiles can't pray more or less beside the community in the synagogue or in Jewish homes.
Are there any opinions or sources about this perspective? Even individual perspectives about what is gained or lost in either case would be meaningful to hear.