It is not recommended to use bleach or other hypoclorite-based cleaners on a roof.  The coatings on roofing, their materials, flashings, and fasteners may react to these cleaners causing damage.  It’s recommended to check with the manufacturer of your roof for maintenance guidelines and compatible cleaning materials.