I've seen times where a comma is used before a conjunction even though the conjunction isn't connecting two independent clauses. Is that allowed to emphasizes in writing? I've seen it a lot, but I haven't found a clear definitive answer, so I don't dare use it in my own writing.
Example: He wanted to do this, but feared the consequences.