I use kerosene to clean my chain. However I only use it outside on the patio. I admit years ago on the farm I used gas to clean things, but even then it was always used outside.
A true life adventure. While on the farm dad had me pull a bunch of vines down off the windmill. Some time later he told me to burn them. It was a hot July afternoon. I poured gas in the middle of the pile and went back to a shed to get a match. Not being the dumbest person, I stood back and threw the match several feet to the pile. In that short time some gas had turned to vapor. There was a huge swooch and the pile lifted about 2 feet off the ground!!! I was not hurt, but I was intensely aware. DONT MESS WITH GAS!!!!!