In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g.
very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc
may be rendered as
very long text followed
by a very long equation
like a+b+c+d+e+f+g+h+i+
j+k+l etc
However, the break won't happen if they are separated by commas, e.g.
very long text followed by a very long equation like $a,b,c,d,e,f,g,h,i,j,k,l$ etc
will overflow the page like
very long text followed
by a very long equation
like a,b,c,d,e,f,g,h,i,j,k,l
etc
How to make LaTeX able to insert line breaks after a comma too?