There are some known carcinogens in burnt food but smoking still carries significantly higher relative risk than eating burnt food.As already mentioned the genetic make up is certainly the determining factor, and some cancers are also known to be caused by viruses. There is yet even more that is completely unknown to man. However other factors like smoking certainly increase the likelihood of developing cancer. It is not just smoking, but pretty much everything burning or burnt (like blackened food - e.g. your BBQs!) that is extremely harmful. So feel free to use e-fag things if you are that addicted; at least you are not putting anyone else at increased risk.
The risk of cancer from regularly eating burned food is real but tiny. For smoking it's about 25% for lung cancer alone.