In areas within the towns but outside the fire zones no building or structure of frame construction shall be built nearer than 5 feet to the neighboring property line, so that between two frame buildings there shall be a fire gap of not less than 10 feet. Buildings of masonry or fire-resistant construction may be built closer to such property line in accordance with regulations under section 603 of this title and section 293 of Title 29.