Use of comma with "of course" [duplicate]
When "of course" is at the end of a sentence, should a comma precede it?
Yes and No! It depends on the sentence. Here are some examples:
We lose beloved public figures every year, of course.
Source: https://www.nytimes.com/2020/12/07/sports/rafer-johnson-sports-deaths.html
If this means just that she’s sympathetic to the problems women face and interested in how they deal with those problems, well then of course.
Source: https://www.nytimes.com/2020/11/18/books/the-wild-rangy-unclassifiable-delights-of-joy-williamss-fiction.html