Similar to lierdakil/pandoc-crossref#184 , I was looking for a solution to support numbering and referencing multiple labels within one multiline equation.
My intended target format is html5+mathjax only, so I am able to use some features provided by mathjax. I made a fork here https://github.com/peterzjx/pandoc-eqnos to demonstrate some basic ideas if anyone is interested.