Question: do you put a comma before which?
Answer: Comma Before Which. Use a comma before which when it introduces a nonrestrictive phrase. Don't use a comma before which when it's part of a prepositional phrase, such as “in which.”