What fuel? I would be hesitant to have a liquid/gas fueled genset on or near any flammable occupied structure or flooring.
Thats like being afraid to park your car in a garage.
I keep a 7k unit full inside my back mud room, when needed roll it out on the raised back porch with the ex facing out.
Still here after 15 years doing so.
I swap the gas out yearly and inspect fuel line, ect.
I don't fuel my car in a power outage in my garage in the middle of the night when its running or hot and the family sleeping inside, but be my guest.