These bikes are gravity-feed: this means that the fuel pressure is less than 1 PSI. Check the tube size. but I believe it is 1/4" ID tubing. Also, use a spring hose clamp of the proper size, on each end. There may not be much room, so a disc-shaped filter may be the best, as it takes up the least amount of 'hose length', so it will be easier to fit into the fuel line. Avoid any that have opaque plastic housings: they are likely using a metal screen filter element, within, which will allow small bits of crud to pass easily, as already stated. Paper element filters are best, providing the best filtration possible. Cheers!
1979 CB750K (sold, 2012, but not forgotten)
1983 Kawasaki 440 LTD Belt Drive (sold, 2011)
1993 Kawasaki Voyager XII