Can I put a comma before as well?

Solution 1:

No: you should not place a comma before as well at the end of a sentence.

You would normally put a comma before as if it introduces a further explanation of the function of something, and only then if it is an afterthought: he liked her, as a friend. And of course you would use a comma if as introduces a full clause that is not closely connected to the main clause: English is not difficult, as it is a Germanic language. But, in other situations, you normally wouldn't put a comma before as.