(A) If a part of this code or of any ordinance passed by the Town Board after this code goes into effect is invalid, all valid parts which are severable from the invalid parts remain in effect.
(B) If a part of this code or of any ordinance passed hereinafter is invalid in one or more of its applications, the part remains in effect in all valid applications which are severable from the invalid applications.