There are times you need to use a comma when you are writing about a place. For example: let’s say that I want to tell you I am from a town called Able in the state of Alaska. Okay, that is very long and I would hate to write that every time someone asked me where I was from. So, instead I write it shorter and use a comma: Able, Alaska. The comma denotes that the state is not Able Alaska nor is the town. It isn’t a name of a theater or your neighbor. It is a location.
There are times when a comma has to be used with names which are of course proper nouns. When would that be? Well, not between a first and last name of a person or after a title like Mr. It usually happens more with titles after the name.
You also want to use commas around names in dialogue. “Amy, please come over tonight.” Or “We went to your house, John, before we came here.” That sets the name apart so the reader can tell exactly who is being spoken to. The name is not part of the actual sentence. It is a directional signal. Without the name, the sentence still makes perfect sense.
You also use commas and proper nouns when they are used as a reference in a sentence. “Joanne went to see her cousin, Joan.” By taking out the name, the sentence makes sense. The name is just here for clarification.
In most sentences, proper nouns and comma relationships are like any other noun and comma relationship The biggest issues come when using titles, in dialogue, and in place names.