The problem is that weed isn't tested like drugs that are licensed by the government and not every batch is exactly the same. You don't know what chemicals have been used for pesticides and fertilizer nor what other substances it might be laced with because of the lack of formulation and testing. The link below a reasonable comparison between weed and tobacco.
From that article:
"To date, similar epidemiological and/or clinical studies on the use of cannabis and cancer are few and not definitive. However, the public and policy-makers should interpret the ambiguity of these results with caution – neither construing them at this time as an endorsement of cannabis’ safety nor as an indictment of its potential health hazards."
http://norml.org/component/zoo/category/cannabis-smoke-and-cancer-assessing-the-risk