Is it correct to use a comma before 'can' in the following sentence? In addition, do I have to use a comma before 'such as'?
Urban pollution largely caused by vehicle emissions, can lead to respiratory problems such as asthma.
Is it correct to use a comma before 'can' in the following sentence? In addition, do I have to use a comma before 'such as'?
Urban pollution largely caused by vehicle emissions, can lead to respiratory problems such as asthma.
The sentence should not have any commas. Commas are used to separate phrases which can be removed without altering the structure of the sentence.
You could write the sentence as: Urban pollution, largely caused by vehicle emissions, can lead to respiratory problems such as asthma.
It changes the meaning of the sentence. With the commas, it says that Urban pollution of all types can lead to asthma. Without the commas, it means vehicle emissions cause asthma.
It is possible to read the sentence "Urban pollution largely caused by vehicle emissions can lead to respiratory problems such as asthma" as saying something different from the sentence "Urban pollution, largely caused by vehicle emissions, can lead to respiratory problems such as asthma."
According to this view of the effects of paired commas on sentence meaning, the version without commas limits its focus to "urban pollution largely caused by vehicle emissions," without venturing an opinion about the effects on respiration of other forms of urban pollution.
In contrast, according to the same view, the version with commas asserts that urban pollution (understood as a unitary entity) can lead to respiratory problems such as asthma, and it further asserts that urban pollution is largely caused by vehicle emissions.
In other words, a reader might interpret the commaless form of the sentence as saying this:
Urban pollution of the type that is largely caused by vehicle emissions can lead to respiratory problems such as asthma.
and the two-comma form of the sentence as saying this:
Urban pollution—which, by the way, is largely caused by vehicle emissions—can lead to respiratory problems such as asthma.
So the correct form of punctuation to use depends on which thing you are trying to say.