Can I use

<!--- file abc.cfc--->
<cfcomponent>
<cffunction>
<cfquery>
</cfquery>
<cfreturn xyz>
</cffunction>
</cfcomponent>

<!--- file test.cfm--->
<cfinvoke component="abc">

in ColdFusion.ProductVersion 5, 0, 0, 0