Blender | Turn off a single objects visibility

To turn off a single objects visibility so it doesn’t show in your renders go to the object properties tab(orange square)>visibility>check off ‘show in renders’. Another way is to make a collection in the outliner and add the object to it then hide the collection.