is CH3COCH3 NOT h-bond because the o is far from an H?

No. Have look at the sort of molecules that are hydrogen bonded. What is the difference between these that are H bonded and acetone above.

but i was told that The ketone oxygen can act as a hydrogen bond acceptor.

CH3COCH3, also known as acetone, is a molecule composed of carbon, hydrogen, and oxygen atoms. Acetone does not form hydrogen bonds because it lacks hydrogen atoms directly bonded to oxygen or nitrogen atoms.

To determine if a molecule can undergo hydrogen bonding, you need to examine its structure and identify the presence of hydrogen atoms directly bonded to electronegative atoms such as nitrogen, oxygen, or fluorine. Hydrogen bonding occurs when a partial positive charge on a hydrogen atom interacts with the partial negative charge on a nearby electronegative atom, resulting in a strong intermolecular attraction.

In the case of acetone (CH3COCH3), there are three carbons bonded together in the middle of the molecule, with two methyl (CH3) groups attached to the central carbon atom. The carbonyl group (C=O), which contains an oxygen atom, is located at one end of the molecule. Although there is an oxygen atom present, it is not directly bonded to any hydrogen atom. Therefore, acetone does not have the necessary components to form hydrogen bonds.

In summary, the absence of hydrogen atoms directly bonded to oxygen or nitrogen in acetone prevents it from participating in hydrogen bonding.