Fixed comment generation in quantity.toString()