Skeletal Mesh collision set to 'Query Only' still generates physics collision

sorry im not quite sure what youre asking, but if you need one component to ignore a certain type of object you can set it to ignore that type, and you can manually set this in blueprints if it needs to be toggled. Line traces dont use collisions, they use trace channels, you could set one of them to ignore everything except the trace channel you need