The Rent Ordinance para (e) explicitly precludes that possibility:
Any waiver by a tenant of rights under this Chapter 37 shall be void
as contrary to public policy.
If he attempts to enforce such a clause or in any way dislodge you from the unit, he is liable for a substantial penalty.
Is this just standard lease boilerplate that my friend shouldn't be too worried about?
One should never disregard a clause under the belief that it is "standard boilerplate".
The purpose of written contracts, such as a lease, is to supersede --or at least formalize-- ordinary or standard relations. Accordingly, parties to a contract should always expect ...