Your question is a little unclear but I assume from your question that you do want to see the contents of the .ini file in the documentation.
For what I think you need I'd suggest using @verbatim
rather than @code
.
If you are not seeing anything at all, then check that .ini
is in the list of filename extensions that doxygen will parse? It's a setting in the doxyfile.