ps: I have asked this question on https://tex.stackexchange.com/ (here) but is regarded as off-topic. So I moved it here.
I have seen different ways in papers to put comma after equation.
right after the equation:

right before
where:
no comma at all:

Which way should I choose? Which way is more standard?