There is a code of ethics that's been promulgated by the USCF but there is actually a LOT of problems with questionable/borderline behavior at chess tournaments. It was hotly discussed when I was running tournaments back in the 1990s, and I don't know that it's resolved.
For example, here's International Master Jeremy Silman reminiscing about "odd behavior" he has experienced at the chess table. Ultimately his only response is that if it crosses a line you should report it to the arbiter or tournament director. But we all know that without clear lines pre-drawn, leaving it to the judgment of someone often just permits the standard old discriminatory lines to be drawn. So actually I think chess is a good example of a competitive game that is really digging around trying to find some way to address the safety and comfort of participants.