Usually custom assets like this should be placed under the theme directory in use. WordPress will not remove any assets from these directories during upgrade. Note however that you should use a childtheme if you are using a theme that will get upgrades (ie. not a custom theme), such as the WordPress stock themes.
]]>