To me the Citadel DLC fit better after the ending, because I think the tone is... different from how dire things are prior to the ending.
But it did fit only because of a specific ending and my own head canon around that ending (trying not to spoil stuff here), so I think playing it before the ending is also okay.
newhaap's comments