Place commas inside quotation marks but outside parentheses.
The University classified the study as an "experiment," which doubled the time needed
for approval by the Committee on Research.
The manual contains a lengthy, though incomplete (and somewhat obscure),
description of the compiler.