Anything played in iTunes is always added to the Library no matter what, but if you meant how to stop it from copying or moving the file to your iTunes Music folder, you can change that in the Preferences under Advanced. Look for "Copy the files to the iTunes Music Folder when adding to Library" and turn it off.