Macros can be grouped into separate folders to separate specific types, like action or project dependent ones. Create a new folder under the PI Macros folder and use the PI Directory command to switch in the editor or the PI5 Macros window. A separate macro in the folder can switch back to the main folder.
Here is an example:
VIEW Build Folder.pi5:
PI Directory C:\Users\user\Documents\LabVIEW Data\PI Macros\Build
VIEW PI Macros Folder.pi5:
PI Directory C:\Users\user\Documents\LabVIEW Data\PI Macros