You can use Preview in two ways:
Use the Annotation tool to draw a filled rectangle over the area you want to hide. You can select the fill color.
Use the Selection tool to select the area you want to hide and then cut it. The area will be replaced by a gray area (or whatever color is set as window background in Preferences/General).