Having used Java for a long time my standard method for creating long strings piece by piece was to add the elements to an array and then implode the array.
Choose the more readable one. Always. This case, i would pick up the second apporach. Then optimize it, if it's a bottleneck.