So now that i know it works i can take the r and the voltage source out and just save the diode?
There is no "diode" to save. We borrowed the generic symbol from the LTC supplied symbol library, placed an instance of it in a schematic, and them we altered just the attributes in the instance to cause it to call the text file containing the subcircuit description in the .INCLUDE statement. You can save the .ASC file containing the diode instance. You can also duplicate (copy) the instance from this schematic page to a new schematic.