You can't generalize from one part to the next. Improper cooking methods will bring bad consequences. In fact, as long as you pay attention to your normal living habits, you can minimize the damage. For example, when cooking, turn on the range hood, pay attention to the control of oil temperature and oil quantity, properly open the window for ventilation, wash your hands and face in time after cooking, and so on.
In fact, as long as we pay attention to the ventilation of the kitchen, the carcinogens that can be inhaled are very limited. No amount of food can compare with a barbecue. Just pay attention at ordinary times. The same is true for gas, unless the gas tank at home leaks.