Where is appropriate locate for including prm file in topolgy?

GROMACS version:2021
GROMACS modification: Yes/No
Here post your question
Hi dear friends. i want to simulate dppc membrane along with interested nanoparticle by gromacs2021 with charmm force field. for this i created itp and prm file for nanoparticle but i dont know where is appropriate for including prm file. when i put this in begin of topology get error but when add to last part of topology everything is ok. begin or last part of topology, which one is correct?

All parameters have to be defined before any [moleculetype] can be defined. The first setup you show is correct. See also Protein-Ligand Complex