Use the GD > Post Address block, widget or shortcode with its Address template setting. By default it puts each part of the address on its own line. The template lets you choose which parts appear and what goes between them.
One line with commas
[gd_post_address show='icon-value' address_template='%%street%%%%c_city%%%%c_region%%%%c_zip%%%%c_country%%']
That gives you something like “10 High Street, Bristol, England, BS1 1AA, United Kingdom”.
How the template tags work
The available tags are %%street%%, %%street2%%, %%neighbourhood%%, %%city%%, %%region%%, %%zip%%, %%country%%, %%latitude%%, %%longitude%% and %%post_title%%. You can add a separator to any of them:
_bradds a line break and_brcadds a comma and line break, for example%%city_br%%._cadds a comma,_spacea space and_dasha dash.- Put the separator at the end (
%%city_c%%) to add it after the value, or at the start (%%c_city%%) to add it before.
A separator only appears when that part of the address has a value, so a listing with no region will not get a double comma. Using the leading form (%%c_city%%) for everything after the first tag avoids a stray comma at the end of the line.
Where to add it
For the listings in your archives and search results, edit your archive item template (GeoDirectory > Settings > General > Pages shows which page that is) and change the GD > Post Address block there. In the block editor, select the block and enter the template in the Address template field in the sidebar. With a page builder or a shortcode, paste the shortcode above. GD > Post Address lists every setting.