Be sure to add a comma before “etc.”
Example 1: “We bought bread, cheese, ham, etc.”
Also be sure NOT to italicize “etc.”
Example 2: See Example 1.
As well, be sure to add a comma AFTER “etc.” if your sentence does not end.
Example 3: “We bought bread, cheese, ham, etc., but then forgot them all at the supermarket counter.”
Jason Blake and Monika Kavalir