The provisions of this section shall not prevent the keeping of such gasoline, oil or other fuel as may be contained in a tank or receptacle of a motor vehicle stored in a space provided for automobiles in a multiple dwelling, nor shall this section apply to gaseous material used for the cleaning or washing of a motor vehicle so stored. Such permit shall not be required for the keeping or storage of oil or kerosene in quantities not exceeding five gallons at any one time for domestic heating or cooking purposes, provided such oil or kerosene is in a container directly connected to the heating or cooking appliances in which it is to be used and is kept or stored in accordance with standards of safety prescribed by the department.
N.Y. Mult. Resid. Law § 13