For the custom query data (which can be edited in Registration - Ticket Setup - Participant - edit a participant type) there is a set of mergefields.
For general understanding there is no mergefield for only one specific custom query entry, the replacers will generate all entries at once. Similar to the order overview.
These replacers are only available for registration (Order confirmation).

Here an example of how the replacers are to be set in word:

«TableStart:CustomQueryFields»«mFieldNamem»: «mFieldValuem»«TableEnd:CustomQueryFields»

Here an example of the output:

Firstname1 Surname1
Date: 01.01.2015
Time: 13:00
Text: Lorem Ipsum

This is an example of the settings for a participant type (bold is the Label-text, the rest is the information of the participant).