Ref: T144708#6040526
Not sure if Parsoid's dom-diff code uses string comparisons OR DOM tree comparisons for embedded HTML strings in data-mw attributes. This is probably only an edge case that matters where clients and Parsoid use different encoding schemas for comments.