Two or more buildings or structures may be, in B and I Districts, constructed jointly or on lot lines, provided that the exterior walls of such buildings or structures are of fire-resistant materials. The setbacks of both front, rear and sides in the schedule in §§ 170-13F and 170-14G relate to residential dwellings only in District B and in District I.