Here's why:
* "As well" is an adverbial phrase that modifies the entire sentence. It adds information about the previous statement.
* Adverbial phrases at the end of a sentence are not usually separated by a comma.
Examples:
* Correct: I went to the store and bought groceries as well.
* Incorrect: I went to the store and bought groceries, as well.
However, there are some exceptions:
* If "as well" is used to connect two independent clauses, you would put a comma before it.
* If "as well" is used parenthetically, you would put commas before and after it.
Examples:
* Correct: I went to the store, and I bought groceries as well. (two independent clauses)
* Correct: I went to the store, as well as the bakery, and bought groceries. (parenthetical phrase)
Let me know if you have any other grammar questions!